//
//  HTPhotoManager.h
//  HTHappySale
//
//  Created by 创维海通 on 2017/9/25.
//  Copyright © 2017年 zxyywy. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface HTPhotoManager : NSObject<NSCopying>

+ (instancetype)sharedTool;


/**
 压缩图片质量

 @param image <#image description#>
 @param percent <#percent description#>
 @return <#return value description#>
 */
- (UIImage *)reduceImage:(UIImage *)image percent:(float)percent;


/**
 压缩图片尺寸

 @param image <#image description#>
 @param newSize <#newSize description#>
 @return <#return value description#>
 */
- (UIImage*)imageWithImageSimple:(UIImage*)image scaledToSize:(CGSize)newSize;

@end
